home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- SYSMOD(UNIX) 3/14/79 SYSMOD(UNIX)
-
-
-
- NAME
- sysmod - modify system relations to predetermined storage
- structures.
-
- SYNOPSIS
- _s_y_s_m_o_d [ -_s ] [ -_w ] dbname [ _r_e_l_a_t_i_o_n ] [ _a_t_t_r_i_b_u_t_e ] [
- _i_n_d_e_x_e_s ] [ _t_r_e_e ] [ _p_r_o_t_e_c_t ] [ _i_n_t_e_g_r_i_t_i_e_s ]
-
- DESCRIPTION
- _S_y_s_m_o_d will modify the relation, attribute, indexes, tree,
- protect, and integrities relations to hash unless at least
- one of the _r_e_l_a_t_i_o_n, _a_t_t_r_i_b_u_t_e, _i_n_d_e_x_e_s, _t_r_e_e, _p_r_o_t_e_c_t, or
- _i_n_t_e_g_r_i_t_i_e_s parameters are given, in which case only those
- relations given as parameters are modified. The system re-
- lations are modified to gain maximum access performance when
- running INGRES. The user must be the data base administra-
- tor for the specified database, or be the INGRES superuser
- and have the -_s flag stated.
-
- _S_y_s_m_o_d should be run on a data base when it is first created
- and periodically thereafter to maintain peak performance.
- If many relations and secondary indices are created and/or
- destroyed, _s_y_s_m_o_d should be run more often.
-
- If the data base is being used while _s_y_s_m_o_d is running, er-
- rors will occur. Therefore, _s_y_s_m_o_d will lock the data base
- while it is being processed. If the data base is busy, _s_y_s_-
- _m_o_d will report this. If standard input is not a terminal
- _s_y_s_m_o_d will wait for the data base to be free. If -_w flag
- is stated _s_y_s_m_o_d will not wait, regardless of standard in-
- put. The +_w flag causes _s_y_s_m_o_d to always wait.
-
- The system relations are modified to hash; the relation re-
- lation is keyed on the first domain, the indexes, attribute,
- protect, and integrities relations are keyed on the first
- two domains, and the tree relation is keyed on domains one,
- two, and five. The relation and attribute relations have
- the minpages option set at 10, the indexes, protect, and in-
- tegrities relations have the minpages value set at 5.
-
- SEE ALSO
- modify(quel)
-
-